package com.shop.mall.dao;

import com.shop.mall.entity.User;

import java.util.List;

/**
 * @author admin
 * @version 1.0
 * @date 2019/4/23
 */
public interface UserDao {
    List<User> select(int id) throws Exception;

    Boolean login(String username, String password) throws Exception;

    int regist(User user) throws Exception;

    int update(User user) throws Exception;

    int delete(int id) throws Exception;

    List<User> getuserList() throws Exception;

    Boolean webLogin(String email, String password) throws Exception;
}
